// mock/dict.ts
var dict_default = [
  {
    url: "/api/v1/dict/:code/options",
    method: "get",
    response: ({ url }) => {
      const typeCode = url.match(/\/api\/v1\/dict\/(\w+)\/options/)[1];
      let list = null;
      if (typeCode == "gender") {
        list = [
          {
            value: "1",
            label: "\u7537"
          },
          {
            value: "2",
            label: "\u5973"
          },
          {
            value: "0",
            label: "\u672A\u77E5"
          }
        ];
      }
      return {
        code: "00000",
        data: list,
        msg: "\u4E00\u5207ok"
      };
    }
  }
];
export {
  dict_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsibW9jay9kaWN0LnRzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyJjb25zdCBfX2luamVjdGVkX2ZpbGVuYW1lX18gPSBcIkY6XFxcXHl1bmRhdGExMDBcXFxcdnVlMy1hZG1pblxcXFxtb2NrXFxcXGRpY3QudHNcIjtjb25zdCBfX2luamVjdGVkX2Rpcm5hbWVfXyA9IFwiRjpcXFxceXVuZGF0YTEwMFxcXFx2dWUzLWFkbWluXFxcXG1vY2tcIjtjb25zdCBfX2luamVjdGVkX2ltcG9ydF9tZXRhX3VybF9fID0gXCJmaWxlOi8vL0Y6L3l1bmRhdGExMDAvdnVlMy1hZG1pbi9tb2NrL2RpY3QudHNcIjtpbXBvcnQgeyBNb2NrTWV0aG9kIH0gZnJvbSBcInZpdGUtcGx1Z2luLW1vY2tcIjtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IFtcclxuICB7XHJcbiAgICB1cmw6IFwiL2FwaS92MS9kaWN0Lzpjb2RlL29wdGlvbnNcIixcclxuICAgIG1ldGhvZDogXCJnZXRcIixcclxuICAgIHJlc3BvbnNlOiAoeyB1cmwgfSkgPT4ge1xyXG4gICAgICBjb25zdCB0eXBlQ29kZSA9IHVybC5tYXRjaCgvXFwvYXBpXFwvdjFcXC9kaWN0XFwvKFxcdyspXFwvb3B0aW9ucy8pWzFdO1xyXG5cclxuICAgICAgbGV0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